﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CatchSingleParseList.aspx.cs" Inherits="Manage_Cms_CatchSingleParseList" %>

<html>
<head>
<title></title>
    <!--#include file="../js/html_head.inc"-->
    <link rel="stylesheet" type="text/css" href="../Themes/<%=ManageHelper.GetTheme()%>/style.css" />
</head>
<body>
    <%=ManageHelper.PageSucMsg()!=""?"<div class='msg_succeed'>"+ManageHelper.PageSucMsg()+"</div>":""%>
    <%=ManageHelper.PageErrMsg()!=""?"<div class='msg_failed'>"+ManageHelper.PageErrMsg()+"</div>":""%>
    <table width="95%" align="center">
        <tr>
            <td align="right">
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            <input type="submit" name="AddGroup" value="添加采集解析" onclick="self.location.href='CatchSingleParseItem.aspx'" id="AddGroup" class="button" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <div class="column">
        <div class="columntitle">
            单页采集解析管理</div>
        <table cellspacing="0" cellpadding="0" rules="all" align="center" border="0" id="MyDataGrid"
            style="border-width: 0px; width: 100%; border-collapse: collapse;">
            <tr class="summary-title" style="height: 25px;">
                <td align="center" style="width: 40px;">编号</td>
                <td>解析名称</td>
                <td align="center" style="width:60px;">状态</td>
                <td align="center" style="width:80px;">操作</td>
            </tr>
            
            
            <%foreach (KeRui.Model.CmsCatchParseContent model in listCmsCatchParseContent)
              {%>
            <tr class="tdbg" onmouseover="this.className='tdbg-dark';" onmouseout="this.className='tdbg';"   style="height: 25px;">
                <td  align="center" style="width: 40px;"><%=model.ParseContentID %></td>
                <td><%=model.ParseContentName%></td>
                <td align="center"><%=model.IsUsing==1?"开启":"关闭"%></td>
                <td align="center">
                    <a href="CatchSingleParseItem.aspx?pcid=<%=model.ParseContentID %>&act=edit">
                        修改</a> | 
                    <a href='CatchSingleParseItem.aspx?pcid=<%=model.ParseContentID %>&act=del'onclick="javascript:return confirm('此操作将会删除采集解析“<%=model.ParseContentName %>”，确认吗？');">
                        删除</a>
                </td>
            </tr>
            <%}%>
        </table>
    </div>
    
</body>
</html>